﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="viewallproducts.aspx.cs"
    Inherits="TotalSport.viewallproducts" EnableEventValidation="false" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ Register TagName="header" TagPrefix="uc" Src="~/Header.ascx" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>::ALL PRODUCTS::</title>
    <link href="Styles/Stylsheet.css" rel="stylesheet" type="text/css" />
    <script src="Scripts/jquery-1.4.1-vsdoc.js" type="text/javascript"></script>
    <script src="Scripts/jquery-1.4.1.js" type="text/javascript"></script>
    <script src="Scripts/jquery-1.4.1.min.js" type="text/javascript"></script>
    <script src="Scripts/jquery-1.3.2.js" type="text/javascript"></script>
    <script src="Scripts/jquery-1.4.2.min.js" type="text/javascript"></script>
    <script src="Scripts/jquery-ui-1.7.2.custom.min.js" type="text/javascript"></script>
    <script type="text/javascript">

        $(document).ready(function () {
            // Tabs
            $('#tabs').tabs({ selected: 0 });
            $('#tabs').bind('tabsshow', function (event, ui) {
                var tabSelected = "#tab" + ui.index + "Selected";
                $(tabSelected).html("isClicked");
            });

            $('#aa_lnkAllproudct').css({ color: '#FF0001' });


        });
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <center>
        <div>
            <uc:header runat="server" ID="aa" />
        </div>
    </center>
    <center>
        <%-- <asp:UpdateProgress ID="UpdateProgress1" runat="server" AssociatedUpdatePanelID="upPnlCandidate">
            <ProgressTemplate>
                <center>
                    <div id="pageLoading">
                        <center>
                            <img src="Images/loading .gif" style="z-index: 5000; top: 50%; left: 50%; position: absolute;"
                                alt="loading" />
                            <div style="color: White; font-size: 18px; top: 50%; left: 50%;">
                                Loading...
                            </div>
                        </center>
                        <div id="transparentBg" class="transparentBg">
                        </div>
                    </div>
                </center>
            </ProgressTemplate>
        </asp:UpdateProgress>
        <asp:UpdatePanel ID="upPnlCandidate" runat="server">--%>
        <%--<ContentTemplate>--%>
        <table border="0">
            <tr>
                <td align="center" style="font-size: 16px; padding-top: 10px">
                    <asp:LinkButton ID="lnkDownload" runat="server" OnClick="lnkDownload_Click">Download xsl Sheet</asp:LinkButton>
                </td>
                <td align="center" style="font-size: 16px; padding-top: 10px">
                    <asp:LinkButton ID="lnkUpload" runat="server" 
                        PostBackUrl="~/UploadXslSheet.aspx" onclick="lnkUpload_Click">Upload xsl Sheet</asp:LinkButton>
                </td>
            </tr>
            <tr>
                <td valign="top" width="500px" align="center" style="padding-top: 10px" colspan="2">
                    <asp:GridView ID="grdProducts" runat="server" AutoGenerateColumns="False" CellPadding="3"
                        ForeColor="Black" GridLines="Vertical" AllowPaging="true" Width="900px" BorderColor="#999999"
                        BorderWidth="1px" BackColor="White" BorderStyle="Solid" OnPageIndexChanging="grdQuotes_PageIndexChanging"
                        PageSize="50" >
                        <AlternatingRowStyle BackColor="#DDE7FB" />
                        <Columns>
                            <asp:BoundField DataField="IDSub" HeaderText="Sub ID" />
                            <asp:BoundField DataField="Category" HeaderText="Category" />
                            <asp:BoundField DataField="SubCategory" HeaderText="SubCategory" />
                            <asp:BoundField DataField="ProductName" HeaderText="Product Name" />
                            <asp:BoundField DataField="BrandName" HeaderText="Brand Name" />
                            <asp:BoundField DataField="ItemCode" HeaderText="ItemCode" />
                            <asp:BoundField DataField="Image" HeaderText="Small Image" />
                            <asp:BoundField DataField="Price" HeaderText="Price" />
                            <asp:BoundField DataField="Description" HeaderText="Description" />
                            <asp:BoundField DataField="size" HeaderText="size" />
                            <asp:BoundField DataField="vat" HeaderText="vat" />
                            <asp:BoundField DataField="imageLarge" HeaderText="Large Image" />
                        </Columns>
                        <FooterStyle BackColor="#CCCCCC" />
                        <HeaderStyle BackColor="#045E84" Font-Bold="True" ForeColor="White" />
                        <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" />
                        <SelectedRowStyle CssClass="gridSelectedRowStyle" BackColor="#FF9933" Font-Bold="True"
                            ForeColor="White" />
                        <SortedAscendingCellStyle BackColor="#F1F1F1" />
                        <SortedAscendingHeaderStyle BackColor="#808080" />
                        <SortedDescendingCellStyle BackColor="#CAC9C9" />
                        <SortedDescendingHeaderStyle BackColor="#383838" />
                    </asp:GridView>
                </td>
            </tr>
            <%--<tr>
                <td>
                    <asp:GridView ID="grdFinalProducts"   runat="server" AutoGenerateColumns="False" CellPadding="3"
                        GridLines="Vertical" Width="900px" BorderColor="#999999"  
                        BorderWidth="1px" onpageindexchanging="grdFinalProducts_PageIndexChanging">
                        <Columns>
                            <asp:BoundField DataField="IDSub" HeaderText="Product ID" />
                            <asp:BoundField DataField="Category" HeaderText="Category" />
                            <asp:BoundField DataField="SubCategory" HeaderText="SubCategory" />
                            <asp:BoundField DataField="ProductName" HeaderText="Product Name" />
                            <asp:BoundField DataField="BrandName" HeaderText="Brand Name" />
                            <asp:BoundField DataField="ItemCode" HeaderText="ItemCode" />
                            <asp:BoundField DataField="Image" HeaderText="Small Image" />
                            <asp:BoundField DataField="Price" HeaderText="Price" />
                            <asp:BoundField DataField="Description" HeaderText="Description" />
                            <asp:BoundField DataField="size" HeaderText="size" />
                            <asp:BoundField DataField="vat" HeaderText="vat" />
                            <asp:BoundField DataField="imageLarge" HeaderText="Large Image" />
                        </Columns>
                        <SelectedRowStyle CssClass="gridSelectedRowStyle" BackColor="#FF9933" Font-Bold="True"
                            ForeColor="White" />
                    </asp:GridView>
                </td>
            </tr>--%>
        </table>
        <%--</ContentTemplate>--%>
        <%--</asp:UpdatePanel>--%>
    </center>
    </form>
</body>
</html>
